export default {
    // 李靖
    "1": {
        "请收我为徒": async (characters_id) => {
            G.Characters.join_sects(characters_id, "天宫");
        },
        "这，好的（谁叫我有求于人）。": async (characters_id) => {
            //加入战斗剧情
            G.FightUtils.create_monster_fight(characters_id, "4-12", "4-12");
        },
    },
    // 杨戬
    "2": {
        "看我擒下你这条看门狗！": async (characters_id) => {
            G.FightUtils.create_monster_fight(characters_id, "7-28", "7-28");
        },
    },
    // 玉皇大帝
    "3": {
        "才不怕你这个老头子，看招！": async (characters_id) => {
            G.FightUtils.create_monster_fight(characters_id, "5-21", "5-21");
        },
        "我可以": async (characters_id) => {
            let characters = _CharactersData.get(characters_id);
            if (characters["剧情"]["主线"] === 8 && characters["剧情"]["进度"] === 6) {
                let first = ["男人_玉帝", "玉皇大帝", "把这几样东西给我找来：东海龙王的定海针；李靖的避火诀；观音的修篁斧；镇元大仙的炼金鼎；二郎神的开山钺；齐天大圣的紫金冠。"];
                characters["剧情"] = { "主线": 8, "编号": 1, "地图": 1112, "进度": 7, "附加": {} };
                ClientUtils.send_characters_client_dialogue(characters_id, first[0], first[1], first[2], first[3], [], characters["剧情"]);
            }
        },
        "我准备好要破阵法了": async (characters_id) => {
            G.FightUtils.create_monster_fight(characters_id, "8-53", "8-53");
        },
        "开始生死劫1": async (characters_id) => {
            let characters = _CharactersData.get(characters_id);
            if (characters["等级"] < 120 || !characters["历劫"]["飞升"]) {
                ClientUtils.send_characters_basic_prompt("#Y等级不到120或没有飞升");
                return;
            }
            if (characters["剧情"]["主线"] === 9 && characters["剧情"]["进度"] === 2) {
                G.FightUtils.create_monster_fight(characters_id, "9-2", "9-2");
            }
        },
        "开始生死劫2": async (characters_id) => {
            let characters = _CharactersData.get(characters_id);
            if (characters["剧情"]["主线"] === 9 && characters["剧情"]["进度"] === 3) {
                G.FightUtils.create_monster_fight(characters_id, "9-3", "9-3");
            }
        },
        "开始生死劫3": async (characters_id) => {
            let characters = _CharactersData.get(characters_id);
            if (characters["剧情"]["主线"] === 9 && characters["剧情"]["进度"] === 4) {
                G.FightUtils.create_monster_fight(characters_id, "9-4", "9-4");
            }
        },
        "开始生死劫4": async (characters_id) => {
            let characters = _CharactersData.get(characters_id);
            if (characters["剧情"]["主线"] === 9 && characters["剧情"]["进度"] === 5) {
                G.FightUtils.create_monster_fight(characters_id, "9-5", "9-5");
            }
        },
        "开始生死劫5": async (characters_id) => {
            let characters = _CharactersData.get(characters_id);
            if (characters["剧情"]["主线"] === 9 && characters["剧情"]["进度"] === 6) {
                G.FightUtils.create_monster_fight(characters_id, "9-6", "9-6");
            }
        },
        "开始生死劫6": async (characters_id) => {
            let characters = _CharactersData.get(characters_id);
            if (characters["剧情"]["主线"] === 9 && characters["剧情"]["进度"] === 7) {
                G.FightUtils.create_monster_fight(characters_id, "9-7", "9-7");
            }
        },
        "开始生死劫7": async (characters_id) => {
            let characters = _CharactersData.get(characters_id);
            if (characters["剧情"]["主线"] === 9 && characters["剧情"]["进度"] === 8) {
                G.FightUtils.create_monster_fight(characters_id, "9-8", "9-8");
            }
        },
        "开始生死劫8": async (characters_id) => {
            let characters = _CharactersData.get(characters_id);
            if (characters["剧情"]["主线"] === 9 && characters["剧情"]["进度"] === 9) {
            }
            G.FightUtils.create_monster_fight(characters_id, "9-9", "9-9");
        },
        "开始生死劫9": async (characters_id) => {
            let characters = _CharactersData.get(characters_id);
            if (characters["剧情"]["主线"] === 9 && characters["剧情"]["进度"] === 10) {
            }
            G.FightUtils.create_monster_fight(characters_id, "9-10", "9-10");
        },
        "步入度劫境": async (characters_id) => {
            let characters = _CharactersData.get(characters_id);
            if (characters["剧情"]["主线"] === 9 && characters["剧情"]["进度"] === 11) {
                characters["历劫"]["渡劫"] = true;
                ClientUtils.send_characters_basic_prompt(characters_id, "#Y恭喜您渡劫成功");
                characters["剧情"]["进度"] = 12;
                // characters["剧情"]={"主线":10,"编号": 21,"地图": 1001,"进度": 1,"附加":{}}
            }
        },
    },
    // 王母娘娘
    "4": {
        "放马过来吧！": async (characters_id) => {
            //加入战斗剧情
            G.FightUtils.create_monster_fight(characters_id, "5-16", "5-16");
        },
    }
}